Skip to content

Add tests for readRecord(), getData(), and card getter#39

Merged
tomkp merged 1 commit intomasterfrom
feat/add-missing-tests
Dec 28, 2025
Merged

Add tests for readRecord(), getData(), and card getter#39
tomkp merged 1 commit intomasterfrom
feat/add-missing-tests

Conversation

@tomkp
Copy link
Copy Markdown
Owner

@tomkp tomkp commented Dec 28, 2025

Summary

  • Adds test for readRecord() verifying correct APDU structure (CLA, INS, P1, P2)
  • Adds test for getData() verifying correct APDU structure
  • Adds test for card getter

Coverage

Increases iso7816-application.ts coverage from 86% to 100%.

Test plan

  • All 38 tests pass
  • Coverage at 100% for iso7816-application.ts
  • ESLint and Prettier pass

Fixes #38

- Add test for readRecord() verifying correct APDU structure
- Add test for getData() verifying correct APDU structure
- Add test for card getter

Increases iso7816-application.ts coverage from 86% to 100%.

Fixes #38
@tomkp tomkp merged commit ccb89f7 into master Dec 28, 2025
3 checks passed
@tomkp tomkp deleted the feat/add-missing-tests branch December 28, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for readRecord() and getData() methods

1 participant